﻿using DJY.Domain.Entity.WorkFlow;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DJY.Mapping.WorkFlow
{
    /// <summary>
    /// 工作流版本 EF实体映射
    /// </summary>
    public class WFVersionMap:EntityTypeConfiguration<WFVersionEntity>
    {
        public WFVersionMap()
        {
            this.ToTable("WF_Version");
            this.HasKey(t => new {t.WFID, t.Version});
        }
    }
}
